<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title>代码复用--原型</title>
		<style>
			table {
				border-spacing: 0px;
				border: 1px solid black;
			}
			
			td {
				width: 80px;
				height: 20px;
				text-align: center;
				border: 1px solid black;
			}
			
			thead {
				background-color: pink;
			}
		</style>
	</head>

	<body>
		<h1>Transform DataGrid from Table</h1>
		<p>Transform DataGrid from an existing, unformatted html table.</p>
		<table id="tb" onmouseover="over()" onmouseleave="leave()">
			<thead>
				<td>Item ID</td>
				<td>Product</td>
				<td>List Price</td>
				<td>Attribute</td>
			</thead>

			<tbody id="body">
				<tr>
					<td>EST-1</td>
					<td>FI</td>
					<td>36.50</td>
					<td>Large</td>
				</tr>
				<tr>
					<td>EST-1</td>
					<td>FI</td>
					<td>36.50</td>
					<td>Large</td>
				</tr>
				<tr>
					<td>EST-1</td>
					<td>FI</td>
					<td>36.50</td>
					<td>Large</td>
				</tr>
				<tr>
					<td>EST-1</td>
					<td>FI</td>
					<td>36.50</td>
					<td>Large</td>
				</tr>
				<tr>
					<td>EST-1</td>
					<td>FI</td>
					<td>36.50</td>
					<td>Large</td>
				</tr>
				<tr>
					<td>EST-1</td>
					<td>FI</td>
					<td>36.50</td>
					<td>Large</td>
				</tr>
				<tr>
					<td>EST-1</td>
					<td>FI</td>
					<td>36.50</td>
					<td>Large</td>
				</tr>
				<tr>
					<td>EST-1</td>
					<td>FI</td>
					<td>36.50</td>
					<td>Large</td>
				</tr>
				<tr>
					<td>EST-1</td>
					<td>FI</td>
					<td>36.50</td>
					<td>Large</td>
				</tr>
				<tr>
					<td>EST-1</td>
					<td>FI</td>
					<td>36.50</td>
					<td>Large</td>
				</tr>
				<tr>
					<td>EST-1</td>
					<td>FI</td>
					<td>36.50</td>
					<td>Large</td>
				</tr>
				<tr>
					<td>EST-1</td>
					<td>FI</td>
					<td>36.50</td>
					<td>Large</td>
				</tr>
				<tr>
					<td>EST-1</td>
					<td>FI</td>
					<td>36.50</td>
					<td>Large</td>
				</tr>
				<tr>
					<td>EST-1</td>
					<td>FI</td>
					<td>36.50</td>
					<td>Large</td>
				</tr>
				<tr>
					<td>EST-1</td>
					<td>FI</td>
					<td>36.50</td>
					<td>Large</td>
				</tr>
				<tr>
					<td>EST-1</td>
					<td>FI</td>
					<td>36.50</td>
					<td>Large</td>
				</tr>
				<tr>
					<td>EST-1</td>
					<td>FI</td>
					<td>36.50</td>
					<td>Large</td>
				</tr>
				<tr>
					<td>EST-1</td>
					<td>FI</td>
					<td>36.50</td>
					<td>Large</td>
				</tr>
				<tr>
					<td>EST-1</td>
					<td>FI</td>
					<td>36.50</td>
					<td>Large</td>
				</tr>
				<tr>
					<td>EST-1</td>
					<td>FI</td>
					<td>36.50</td>
					<td>Large</td>
				</tr>
			</tbody>
		</table>
		<script src="js/oo.js"></script>
		<script src="js/indexoo.js"></script>

	</body>

</html>